/*
 * @Author: zcwhy 12345678
 * @Date: 2023-12-13 11:06:18
 * @LastEditors: zcwhy 12345678
 * @LastEditTime: 2023-12-13 15:47:28
 * @FilePath: \xxProject\src\utils\auth.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */


const TokenKey = 'game-Token';

export function getToken() {
    return localStorage.getItem(TokenKey)


}
export function setToken(token: string) {
    return localStorage.setItem(TokenKey, token)
}

export function removeToken() {
    return localStorage.removeItem(TokenKey)

}
